import $request from '../request.js'
export default {
	productList(data) {//商品列表
		return $request({
			method: 'post',
			url: '/api/app/product/list',
			data
		})
	},
	orderCash(data) {//生成订单现金
		return $request({
			method: 'post',
			url: '/api/app/order/cash',
			data
		})
	},
	orderProduct(data) {//生成订单商品
		return $request({
			method: 'post',
			url: '/api/app/order/product',
			data
		})
	},
	taxRatioInfo(data) {//纳税规则
		return $request({
			method: 'get',
			url: '/api/app/tax_ratio/info',
			data
		})
	},
	taxRatioAmount(data) {//纳税金额
		return $request({
			method: 'post',
			url: '/api/app/tax_ratio/amount',
			data
		})
	},
	balanceStatistics(data) {//获取历史芝草
		return $request({
			method: 'post',
			url: '/api/app/user/balance_statistics',
			data
		})
	},
	reviewRecords(data) {//收入记录
		return $request({
			method: 'post',
			url: '/api/app/order/review_records',
			data
		})
	},
	userIncomes(data) {//用户兑换记录
		return $request({
			method: 'post',
			url: '/api/app/user/incomes',
			data
		})
	},
	userIncomeRank(data) {//用户排行旁
		return $request({
			method: 'post',
			url: '/api/app/user/user_income_rank',
			data
		})
	},
	teamIncomeRank(data) {//团队排行旁
		return $request({
			method: 'post',
			url: '/api/app/user/team_income_rank',
			data
		})
	},
	msgList(data) {//消息列表
		return $request({
			method: 'post',
			url: '/api/app/msg/list',
			data
		})
	},
	msgUpdateStatus(data) {//消息列表
		return $request({
			method: 'post',
			url: '/api/app/msg/update_status',
			data
		})
	},unReadMsgIncomeExchange(data) {//消息列表
		return $request({
			method: 'post',
			url: '/api/app/msg/un_read_msg_income_exchange',
			data
		})
	},
	readMsgIncomeExchange(data) {//我的收入小红点
		return $request({
			method: 'post',
			url: '/api/app/msg/read_msg_income_exchange',
			data
		})
	},
	
}